home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / FireMan.swf / scripts / frame_1074 / PlaceObject2_618_1091 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Text File  |  2008-09-12  |  393b  |  15 lines

  1. onClipEvent(enterFrame){
  2.    _X = _X - heroe.scrollspeed;
  3.    _Y = _Y - heroe.vscrollspeed;
  4.    if(this.hitTest(heroe.sprite.hotzone) && !u && _root.locks == 0)
  5.    {
  6.       u = true;
  7.       _root.Posy = heroe._y;
  8.       _root.Posx = heroe._x;
  9.       _root.Posx2 = _root.texturas.lastblock._x;
  10.       _root.Posy2 = _root.mapa._y;
  11.       _root.pause = true;
  12.       _root.nextFrame();
  13.    }
  14. }
  15.